Socket
Socket
Sign inDemoInstall

@atlaskit/button

Package Overview
Dependencies
Maintainers
1
Versions
336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/button

A React component that is a base button.


Version published
Weekly downloads
115K
decreased by-24.62%
Maintainers
1
Weekly downloads
 
Created

What is @atlaskit/button?

@atlaskit/button is a React component library for creating buttons with various styles and functionalities. It is part of Atlassian's design system and provides a consistent look and feel for buttons across applications.

What are @atlaskit/button's main functionalities?

Basic Button

This code sample demonstrates how to create a basic primary button using the @atlaskit/button package.

<Button appearance="primary">Primary Button</Button>

Button with Icon

This code sample shows how to create a button that includes an icon before the text.

<Button iconBefore={<SomeIcon />}>Button with Icon</Button>

Loading Button

This code sample demonstrates how to create a button that shows a loading spinner.

<Button isLoading>Loading Button</Button>

Disabled Button

This code sample shows how to create a button that is disabled and not interactive.

<Button isDisabled>Disabled Button</Button>

Custom Button Styles

This code sample demonstrates how to apply custom styles to a button.

<Button style={{ backgroundColor: 'red', color: 'white' }}>Custom Styled Button</Button>

Other packages similar to @atlaskit/button

FAQs

Package last updated on 18 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc